@charset "UTF-8";
html {
  font-size: 5.3333333vw;
}

body {
  background-color: #f6f6f6;
}

/* header */
header {
  width: 18.75rem;
  height: 2.2rem;
  background-color: #c82519;
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  z-index: 100;
  top: 0rem;
}
header a > span {
  display: inline-block;
  transform: scale(1.5);
  color: #ffffff;
  margin-left: 0.75rem;
}
header .search {
  width: 13.65rem;
  height: 1.5rem;
  border-radius: 0.75rem;
  background-color: white;
  /*  margin: auto; */
  margin: 0rem 0.75rem;
  display: flex;
  box-sizing: border-box;
}
header .search div {
  display: flex;
}
header .search div img {
  width: 1rem;
  height: 0.75rem;
  margin: 0.4rem 0.4rem 0rem 0.75rem;
}
header .search div::after {
  content: "";
  display: block;
  width: 0.05rem;
  height: 0.8rem;
  background-color: #dddddd;
  margin: 0.4rem 0.4rem 0rem 0.1rem;
}
header .search span {
  color: #dddddd;
  margin: 0.4rem 0.4rem 0rem 0.1rem;
}
header .search input[type=text] {
  outline: none;
  border: none;
}
header a {
  font-size: 0.8rem;
  color: white;
}

/* slideshow */
.slideshow {
  position: relative;
  height: 7.2rem;
  width: 18.75rem;
}
.slideshow::before {
  content: "";
  position: absolute;
  width: 18.75rem;
  height: 5.25rem;
  background-color: #c82519;
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
  z-index: -1;
}
.slideshow .container {
  width: 17.5rem;
  height: 7rem;
  overflow: hidden;
  margin: auto;
  left: 0rem;
  right: 0rem;
  position: relative;
  border-radius: 0.5rem;
}
.slideshow .container .pic {
  width: 52.5rem;
  height: 7rem;
  position: absolute;
  left: 0rem;
  display: flex;
  -webkit-animation: slideshow 4s 1s steps(3, end) infinite;
          animation: slideshow 4s 1s steps(3, end) infinite;
}
.slideshow .container .pic img {
  width: 17.5rem;
  height: 7rem;
}
.slideshow div:nth-child(2) {
  height: 4.1rem;
  width: 18.75rem;
  position: relative;
}
.slideshow div:nth-child(2)::after {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #fa2c19;
  border-radius: 50%;
  position: absolute;
  top: 3rem;
  left: 7.5rem;
  -webkit-animation: small-circle 4s 1s steps(3, end) infinite;
          animation: small-circle 4s 1s steps(3, end) infinite;
}
.slideshow div:nth-child(2) ul {
  position: absolute;
  display: flex;
  top: 3rem;
  left: 7.5rem;
}
.slideshow div:nth-child(2) ul li {
  width: 0.5rem;
  height: 0.5rem;
  background-color: white;
  border-radius: 50%;
  margin-right: 0.75rem;
}

@-webkit-keyframes slideshow {
  from {
    left: 0rem;
  }
  to {
    left: -52.5rem;
  }
}

@keyframes slideshow {
  from {
    left: 0rem;
  }
  to {
    left: -52.5rem;
  }
}
@-webkit-keyframes small-circle {
  from {
    left: 7.5rem;
  }
  to {
    left: 11.25rem;
  }
}
@keyframes small-circle {
  from {
    left: 7.5rem;
  }
  to {
    left: 11.25rem;
  }
}
/* classify产品分类 */
.classify {
  width: 18.75rem;
  height: 8.1rem;
  /* box-sizing: border-box;
  padding: 0rem .61rem; */
  display: flex;
  flex-wrap: wrap;
  margin-top: 4.1rem;
}
.classify div {
  box-sizing: border-box;
  width: 3.75rem;
  height: 3.65rem;
  text-align: center;
}
.classify div > a:nth-child(1) img {
  width: 2rem;
  height: 2rem;
}
.classify div > a:nth-child(2) {
  font-size: 0.6rem;
  display: block;
}

.product {
  width: 18.75rem;
}
.product .pictures:nth-child(1) {
  width: 17.75rem;
  height: 11.85rem;
  background-color: white;
  border-radius: 0.5rem;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 0rem 0.8rem;
}
.product .pictures:nth-child(1) .second {
  width: 17.75rem;
  height: 1.7rem;
  background-image: url(../images/bj1.png);
  background-size: 100%;
  line-height: 1.7rem;
}
.product .pictures:nth-child(1) .second > span:nth-child(1) {
  font-size: 0.7rem;
  margin-left: 0.5rem;
}
.product .pictures:nth-child(1) .second .red {
  font-size: 0.6rem;
  color: #f27d8c;
}
.product .pictures:nth-child(1) .second .white {
  font-size: 0.6rem;
  display: inline-block;
  width: 0.75rem;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  color: white;
  background-color: #fb3b29;
}
.product .pictures:nth-child(1) .second > a:nth-of-type(1) {
  margin-left: 3rem;
}
.product .pictures:nth-child(1) .second > a:nth-of-type(2) {
  font-size: 0.5rem;
  color: white;
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  line-height: 0.6rem;
  border-radius: 50%;
  background-color: #f23737;
}
.product .pictures:nth-child(1) .small-img {
  width: 8rem;
  height: 10.1rem;
}
.product .pictures:nth-child(1) .small-img img {
  width: 8rem;
  height: 8rem;
}
.product .pictures:nth-child(1) .small-img h1 {
  text-align: center;
  font-size: 0.6rem;
  color: #f2270c;
}
.product .pictures:nth-child(2) {
  display: flex;
  justify-content: space-between;
  width: 17.75rem;
  height: 11rem;
  margin: 1rem auto 0px;
  border-radius: 0.5rem;
}
.product .pictures:nth-child(2) .small-img {
  width: 8.5rem;
  height: 10rem;
  background-color: white;
  border-radius: 0.5rem;
  text-align: center;
}
.product .pictures:nth-child(2) .small-img img {
  width: 8rem;
  height: 8rem;
}
.product .pictures:nth-child(2) .small-img h1 {
  text-align: center;
  font-size: 0.6rem;
  color: #f2270c;
}

footer {
  width: 18.75rem;
  height: 2.5rem;
  background-color: white;
  display: flex;
  justify-content: space-evenly;
  position: -webkit-sticky;
  position: sticky;
  z-index: 100;
  bottom: 0;
}
footer a img {
  width: 3rem;
  height: 2.3rem;
}/*# sourceMappingURL=jingdong.css.map */